package com.zykj.spb.study.entity.user;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @author zhoulj(周利军) [1217102780@qq.com]
 * @Title: User
 * @Project: ${MODEL_NAME}
 * @Module ID:   <(模块)类编号，可以引用系统设计中的类编号>
 * @Comments: <对此类的描述，可以引用系统设计中的描述>
 * @JDK version used:      <JDK1.8> 52
 * @since 2018/12/18-21:52
 */
@Table(name = "sys_user")
public @Data class User  implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "nickName")
    private String nickName;
    private String phone;
}
